<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\Shop;
use Faker\Generator as Faker;
use Faker\Factory as Fakers;



$factory->define(Shop::class, function () {
    $faker = Fakers::create('zh_CN');

    $phone = $faker->phoneNumber;
    return [
        'name'          => $faker->name.$faker->userName.'-商铺',
        'account'       => $phone,
        'password'      => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
        'phone'         => $phone,
        'email'         => $faker->unique()->email,
        'created_at'    => now(),
        'updated_at'    => now(),
    ];
});
